import StocktakingOrderList from "../modules/WarehouseOps/Stocktaking";
import StocktakingLocList from "../modules/WarehouseOps/Stocktaking/LocList";
import StocktakingOps from "../modules/WarehouseOps/Stocktaking/Ops";
import StocktakingItemInfo from "../modules/WarehouseOps/Stocktaking/ItemInfo";
import StocktakingBarcodeInfo from "../modules/WarehouseOps/Stocktaking/BarcodeInfo";

const route = {
  path: "stocktaking",
  children: [
    { path: "order-list", element: <StocktakingOrderList /> },
    { path: "loc-list", element: <StocktakingLocList /> },
    {
      path: "blind-ops",
      element: <StocktakingOps />,
      children: [
        { path: "item-info", element: <StocktakingItemInfo /> },
        { path: "barcode-info", element: <StocktakingBarcodeInfo /> },
      ],
    },
    {
      path: "open-ops",
      element: <StocktakingOps />,
      children: [
        { path: "item-info", element: <StocktakingItemInfo /> },
        { path: "barcode-info", element: <StocktakingBarcodeInfo /> },
      ],
    },
  ],
};

export default route;
